package com.neusoft.elm.dao;

import java.util.List;

import com.neusoft.elm.po.Business;

public interface BusinessDao {
	
//	查询商家
	public List<Business> listBusiness(String businessName, String password);

//	新建商家
	int saveBusiness(String businessName);

//	删除商家
	public int removeBusiness(int businessId);
	
//	商家登录
//	TODO 总结 Integer 和 int 的使用场景
	public Business getBusinessByIdByPass(Integer businessId,String password);
	
//	查看商家信息
	public Business showBusiness(Integer  businessId);

//	修改商家信息
	int updateBusiness(Business business);
	
//	更改商家管理密码
	public int updateBusinessByPassword(Integer businessId,String password);
	
	
	
	
}
